package com.ming.dao;

import com.ming.entity.TbUser;
import org.apache.ibatis.annotations.Param;

public interface TbUserMapper {
    /**
     * 根据用户名进行密码查询
     * @param userName
     * @return
     */
    TbUser getUsername(@Param("userName") String userName);

    /**
     * 更新
     * @param tbUser
     * @return
     */
    int update(TbUser tbUser);

}